#pragma once

#include "Bool.h"

namespace Tablebases
{
	void BitBoardToIndex(BitBoard *p, int64 *index);
	void IndexToBitBoard(int64 index, BitBoard *p, int wm, int wk, int bm, int bk, int maxwm,  int maxbm);
	void BitBoardToIndex64(BitBoard64 *p, int64 *index);
	void IndexToBitBoard64(int64 index, BitBoard64 *p, int wm, int wk, int bm, int bk, int wmrank,  int bmrank);
}

